import request from '@/utils/request'

// 查询社交-关注列表
export function listSocialFollow(query) {
  return request({
    url: '/system/socialFollow/list',
    method: 'get',
    params: query
  })
}

// 查询社交-关注详细
export function getSocialFollow(id) {
  return request({
    url: '/system/socialFollow/' + id,
    method: 'get'
  })
}

// 新增社交-关注
export function addSocialFollow(data) {
  return request({
    url: '/system/socialFollow',
    method: 'post',
    data: data
  })
}

// 修改社交-关注
export function updateSocialFollow(data) {
  return request({
    url: '/system/socialFollow',
    method: 'put',
    data: data
  })
}

// 删除社交-关注
export function delSocialFollow(id) {
  return request({
    url: '/system/socialFollow/' + id,
    method: 'delete'
  })
}

// 导出社交-关注
export function exportSocialFollow(query) {
  return request({
    url: '/system/socialFollow/export',
    method: 'get',
    params: query
  })
}